//
//  ZTUser.h
//  YSSmartHome
//
//  Created by Yahaong on 16/8/30.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <XAISDK/XAIMQTTDEF.h>

@class XAIGateway;
@interface ZTUser : NSObject
<
NSCoding
>
@property (nonatomic, assign) XAITYPELUID luid;
@property (nonatomic, assign) XAITYPEAPSN apsn;
@property (nonatomic, assign) XAITYPEAPSN currentBindApsn;
@property (nonatomic, copy)   NSString* m_strTel;
@property (nonatomic, copy)   NSString* m_strPwd;


+ (ZTUser *)userWithTelNum:(NSString*)telNum
                      pawd:(NSString *)pawd;
- (void)archiver;
+ (ZTUser *)unarchiver;
- (BOOL)alreadyBindGateway;
@end
